package com.wtang.beans;

import java.util.Set;

/**
 * ClassName:NewsLabel
 * Package:com.wtang.beans
 * Description:新闻栏目,当前的新闻栏目是子栏目
 *
 * @Date:2020/3/21 22:26
 * @Author:wtang
 */
public class NewsLabel01 {
    private Integer id;
    private String  name;
    private NewsLabel01 parent;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public NewsLabel01 getParent() {
        return parent;
    }

    public void setParent(NewsLabel01 parent) {
        this.parent = parent;
    }

    @Override
    public String toString() {
        return "NewsLabel01{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", parent=" + parent +
                '}';
    }
}
